<div class="completed-tasks">
<h3>
<a href="/groups/completed/id/<?php echo $group_id?>" class="view-comp-tasks" onclick="viewCompletedTasks()">See all <?php echo $number_completed?> completed tasks &raquo;</a>
Recently Completed Tasks
</h3>
<ul class="tasks-list">
	<?php  foreach($completed_tasks as $task):?>
		<li>
		<span class="category"><?php echo ucwords($task->getResource()).':'?></span>
		<span class="subcategory"><?php echo $task->getName()?></span>
		Completed by
		<?php echo render_profile_link($task->getUserRelatedByUserId())?>
		<!--
		|
		<a href="#">View Detals &raquo;</a>
		-->
		</li>
	<?php  endforeach?>
</ul>
</div>